package hongcaosp.app.android.contact.atme;

import hongcaosp.app.android.common.IListView;
import hongcaosp.app.android.contact.ListPresenter;
import hongcaosp.app.android.contact.MessagePresenter;
import hongcaosp.app.android.modle.bean.IAtme;

public class AtmePresenter extends ListPresenter {
    private IListView<IAtme> iListView;
    private MessagePresenter messagePresenter;

    public AtmePresenter(IListView<IAtme> listView) {
        this.iListView = listView;
        messagePresenter = new MessagePresenter(listView,3);
    }

    @Override
    public void freshData() {
        messagePresenter.fresh();
    }

    @Override
    public void loadMore() {
        messagePresenter.loadMore();
    }
}
